<?php

declare(strict_types=1);

namespace Plugin\Attractions\AttractionManagement;

class Constant
{
    const DEFAULT_SPOT_TYPE = [
        // 信息类型
        [
            'id' => 1,
            'name' => '游玩项目',
            'sort' => 1,
            'parent_id' => 0,
            'level' => 1,
            'type' => 2
        ],
        [
            'id' => 2,
            'name' => '景区通知',
            'sort' => 2,
            'parent_id' => 0,
            'level' => 1,
            'type' => 2
        ],
        [
            'id' => 3,
            'name' => '天气预告',
            'sort' => 3,
            'parent_id' => 0,
            'level' => 1,
            'type' => 2
        ],
        [
            'id' => 4,
            'name' => '交通资讯',
            'sort' => 4,
            'parent_id' => 0,
            'level' => 1,
            'type' => 2
        ],
        [
            'id' => 5,
            'name' => '优惠活动',
            'sort' => 5,
            'parent_id' => 0,
            'level' => 1,
            'type' => 2
        ],

        // 点位类型
        [
            'id' => 6,
            'name' => '景区景点',
            'parent_id' => 0,
            'level' => 1,
            'sort' => 1,
            'type' => 1
        ],
        [
            'id' => 7,
            'name' => '监控',
            'parent_id' => 0,
            'level' => 1,
            'sort' => 2,
            'type' => 1
        ],
        [
            'id' => 8,
            'name' => '出入口',
            'parent_id' => 0,
            'level' => 1,
            'sort' => 3,
            'type' => 1
        ],
        [
            'id' => 9,
            'name' => '美食',
            'parent_id' => 0,
            'level' => 1,
            'sort' => 4,
            'type' => 1
        ],
        [
            'id' => 10,
            'name' => '酒店',
            'parent_id' => 0,
            'level' => 1,
            'sort' => 5,
            'type' => 1
        ],
        [
            'id' => 11,
            'name' => '卫生间',
            'parent_id' => 0,
            'level' => 1,
            'sort' => 6,
            'type' => 1
        ],
        [
            'id' => 12,
            'name' => '停车场',
            'parent_id' => 0,
            'level' => 1,
            'sort' => 7,
            'type' => 1
        ],
        [
            'id' => 13,
            'name' => '游客中心',
            'parent_id' => 0,
            'level' => 1,
            'sort' => 8,
            'type' => 1
        ],
    ];

    const WECHAT_CONFIG = [
        [
            'group_code' => 'wechat', 
            'key' => 'mp_app_domain',
            'description' => '公众号授权域名'
        ],
        [
            'group_code' => 'wechat',
            'key' => 'mp_app_id',
            'description' => '公众号 AppID'
        ],
        [
            'group_code' => 'wechat',
            'key' => 'mp_app_secret',
            'description' => '公众号 AppSecret'
        ],
    ]; 
}
